package com.chu.service;

import com.chu.entity.OrgRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrgRoleService {
    //查询所有
    PageInfo<OrgRole> findAllOrgRole(int page,int size,String name,String deptname,String state);

    int deleteByPrimaryKey(Integer id);

    int insert(OrgRole record);

    int insertSelective(OrgRole record);

    OrgRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrgRole record);

    int updateByPrimaryKey(OrgRole record);
}